package com.conn3cted.phrasebook.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.ModelAttribute;

import com.conn3cted.phrasebook.model.ContextModel;

public class BaseController {
	
	@Autowired
	public ContextModel contextModel;
	
	@ModelAttribute("sessionModel")
	public ContextModel getContextModel(){
		return contextModel;
	}
}
